<?php

Route::group([], function (\Illuminate\Routing\Router $router) {
    $router->post('about', 'CommonController@about');
    $router->post('accessNotice', 'CommonController@accessNotice');
    $router->post('getScoreRule', 'CommonController@getScoreRule');
});

Route::group([
    'middleware' => 'jwt.auth',
], function (\Illuminate\Routing\Router $router) {

    $router->post('sign', 'CommonController@sign');
    $router->post('getScore', 'CommonController@getScore');
    $router->any('sportRank', 'CommonController@sportRank');
    $router->any('sportRecord', 'CommonController@sportRecord');
    $router->any('collectList', 'CommonController@collectList');
    $router->any('collect', 'CommonController@collect');

});